package cn.stylefeng.guns.modular.hx.storage.mapper;

import cn.stylefeng.guns.modular.hx.storage.entity.HxErrorPick;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxErrorPickParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxErrorPickResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 错漏拣 Mapper 接口
 * </p>
 *
 * @author lww
 * @since 2023-11-04
 */
public interface HxErrorPickMapper extends BaseMapper<HxErrorPick> {

    /**
     * 获取列表
     *
     * @author lww
     * @Date 2023-11-04
     */
    List<HxErrorPickResult> customList(@Param("paramCondition") HxErrorPickParam paramCondition);

    /**
     * 获取map列表
     *
     * @author lww
     * @Date 2023-11-04
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") HxErrorPickParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author lww
     * @Date 2023-11-04
     */
    Page<HxErrorPickResult> customPageList(@Param("page") Page page, @Param("paramCondition") HxErrorPickParam paramCondition, @Param("condition") String condition);

    Page<HxErrorPickResult> DetailsList(@Param("page") Page page, @Param("paramCondition") HxErrorPickParam paramCondition, @Param("condition") String condition);



    /**
     * 获取分页map列表
     *
     * @author lww
     * @Date 2023-11-04
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") HxErrorPickParam paramCondition);

    Page<HxErrorPickResult> findAppDaichuliPageBySpec(@Param("page")Page pageContext,@Param("paramCondition") HxErrorPickParam paramCondition);

    HxErrorPickResult checkyw(@Param("paramCondition")HxErrorPickParam checkyw);
}
